package com.springsetterinjection;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UserMain {
public static void main(String[] args) {
	ApplicationContext context=new ClassPathXmlApplicationContext("beans.xml");
	User u=(User)context.getBean("user");
	System.out.println("User display details!!!!!!!!!!!!!!!!!!!"+u);
	
}
}
